package com.sxpi.convert;


import com.sxpi.model.entity.Coupons;
import com.sxpi.model.vo.CouponsVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;
@Mapper(componentModel = "spring") // 指定生成的实现类为 Spring Bean

public interface CouponsConvert {
    CouponsConvert INSTANCE = Mappers.getMapper(CouponsConvert.class);


    List<CouponsVo> convertEntityToVo(List<Coupons> coupons);

}
